<h1>Aoi flight schedules List</h1>

<table>
  <thead>
    <tr>
      <th>Id</th>
      <th>Airline</th>
      <th>Plane</th>
      <th>Flight code</th>
      <th>Origin airport</th>
      <th>Destination airport</th>
      <th>Departure time</th>
      <th>Arrival time</th>
      <th>Duration</th>
      <th>Start time</th>
      <th>End time</th>
      <th>On monday</th>
      <th>On tuesday</th>
      <th>On wednesday</th>
      <th>On thursday</th>
      <th>On friday</th>
      <th>On saturday</th>
      <th>On sunday</th>
      <th>Created at</th>
      <th>Updated at</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($aoi_flight_schedules as $aoi_flight_schedule): ?>
    <tr>
      <td><a href="<?php echo url_for('adminFlightSchedule/edit?id='.$aoi_flight_schedule->getId()) ?>"><?php echo $aoi_flight_schedule->getId() ?></a></td>
      <td><?php echo $aoi_flight_schedule->getAirlineId() ?></td>
      <td><?php echo $aoi_flight_schedule->getPlaneId() ?></td>
      <td><?php echo $aoi_flight_schedule->getFlightCode() ?></td>
      <td><?php echo $aoi_flight_schedule->getOriginAirportId() ?></td>
      <td><?php echo $aoi_flight_schedule->getDestinationAirportId() ?></td>
      <td><?php echo $aoi_flight_schedule->getDepartureTime() ?></td>
      <td><?php echo $aoi_flight_schedule->getArrivalTime() ?></td>
      <td><?php echo $aoi_flight_schedule->getDuration() ?></td>
      <td><?php echo $aoi_flight_schedule->getStartTime() ?></td>
      <td><?php echo $aoi_flight_schedule->getEndTime() ?></td>
      <td><?php echo $aoi_flight_schedule->getOnMonday() ?></td>
      <td><?php echo $aoi_flight_schedule->getOnTuesday() ?></td>
      <td><?php echo $aoi_flight_schedule->getOnWednesday() ?></td>
      <td><?php echo $aoi_flight_schedule->getOnThursday() ?></td>
      <td><?php echo $aoi_flight_schedule->getOnFriday() ?></td>
      <td><?php echo $aoi_flight_schedule->getOnSaturday() ?></td>
      <td><?php echo $aoi_flight_schedule->getOnSunday() ?></td>
      <td><?php echo $aoi_flight_schedule->getCreatedAt() ?></td>
      <td><?php echo $aoi_flight_schedule->getUpdatedAt() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <a href="<?php echo url_for('adminFlightSchedule/new') ?>">New</a>
